<%@ page contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>授权登录</title>
</head>
<body>
<form action="login.do" method="post">
    <div>使用你的账号登录 <strong>${app.name}</strong></div>
    <div class="form-group">
        <label for="name">账号：</label>
        <input type="text" id="name" name="name" placeholder="用户名">
    </div>
    <div class="form-group">
        <label for="password">密码：</label>
        <input type="text" id="password" name="password" placeholder="密码">
    </div>
    <input type="hidden" name="app_id" value="${app.id}">
    <input type="hidden" name="redirect_url" value="${redirect_url}">
    <input type="hidden" name="state" value="${state}">
    <input type="hidden" name="scope" value="${scope}">
    <div class="form-group">
        <button type="submit">登录</button>
    </div>
    <div><strong>${app.name}</strong> 将获得以您的：用户名、头像信息</div>
</form>
</body>
</html>
